package com.virgo.demo.support.domain.bo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DictDataBo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	private Long dictCode;

	private Integer dictSort;

	@NotBlank(message = "字典值名称不能为空")
	private String dictLabel;

	@NotBlank(message = "字典值不能为空")
	private String dictValue;

	@NotBlank(message = "字典标识不能为空")
	private String dictType;

	private String remark;
}